<%@ page contentType="image/jpeg"  %><%@page import="com.wap.framework.util.ChangeImageSize;"%><% 

String width = request.getParameter("w")==null?"1":(String)request.getParameter("w").trim();
String height = request.getParameter("h")==null?"1":(String)request.getParameter("h").trim();
String imgurl = request.getParameter("url")==null?"":(String)request.getParameter("url").trim();
//imgurl = "http://imgad1.3conline.com/ivy/image/20108/6/1281058149499.gif";
if(imgurl.length() > 4){
	ChangeImageSize.resizeAndDisplay(response,imgurl,Integer.parseInt(width),Integer.parseInt(height));
}

%>